package com.IR.product.service;



import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.IR.shop.mapper.NormsMapper;

import com.IR.shop.po.Norms;


@Service
public class ANormsBIZ{

	@Resource
	private NormsMapper normsmapper;
	
	public void updatePronorms() {
		Norms norms=new Norms();
		norms=normsmapper.selectByPrimaryKey(2);
		norms.setNormsdetail("333");
		normsmapper.updateByPrimaryKey(norms);
	}
	public void savePronorms() {
		Norms norms=new Norms();
		norms.setNormsdetail("1");
		norms.setProid(1l);
		normsmapper.insert(norms);
	}
}
